// 仓库分区-分区类型
export const depotRegionTypeDict = {
  STANDARD: { value: 0, title: 'standard' },
  DEFECTIVE_PRODUCT: { value: 1, title: 'badProduct' },
  RETURN_GOODS: { value: 2, title: 'returnArea' },
  TRANSIT_REGION: { value: 3, title: 'transitArea' },
  STAGING_REGION: { value: 4, title: 'storageCache' }
}
// 仓库-仓库类型
export const depotTypeDict = {
  OVERSEAS_DEPOT: { value: 0, title: 'overseasWarehouse' },
  TRANSIT_DEPOT: { value: 1, title: 'transitWarehouse' },
  VIRTUAL_DEPOT: { value: 2, title: 'virtualWarehouse' }
}
// 库位-拣货类型
export const locationPickTypeDict = {
  PICK_UP_GOODS: { value: 0, title: 'pickUp' },
  STORAGE_LOCATION: { value: 1, title: 'storageSpaces' }
}
// 状态-仓库、分区、库位类型、库位、流转箱
export const depotStatusDict = {
  DRAFT_STATUS: { value: 0, title: 'draft' },
  ENABLE_STATUS: { value: 1, title: 'enable' },
  DISABLE_STATUS: { value: 2, title: 'stop' }
}
// 通用启用和停用
export const enableAndDisableDict = {
  ENABLE: { value: 0, title: 'enable' },
  DISABLE: { value: 1, title: 'disable' }
}
// 品类的类型
export const categoryLevelDict = {
  CLASS_I_CATEGORY: { value: 0, title: 'FirstLevelCategory' },
  CLASS_II_CATEGORY: { value: 1, title: 'SecondLevelCategory' },
  CLASS_III_CATEGORY: { value: 2, title: 'ThirdLevelCategory' }
}
// 产品状态
export const productStatusDict = {
  ON_SALE: { value: 0, title: 'onSale' },
  OFF_SALE: { value: 1, title: 'offSale' }
}
// 收货管理 日期
export const dateTypeDict = {
  ORDER_DATE: { value: 0, title: 'preRecordedDate' },
  ESTIMATED_ARRIVAL_DATE: { value: 1, title: 'estimatedArrivalDate' },
  RECEIVING_DATE: { value: 2, title: 'receivingDate' },
  SHELF_DATE: { value: 3, title: 'shelfDate' }
}
// 收货管理 状态
export const deliveryStatusDict = {
  // PENDING_SHIPMENT: { value: 0, title: 'pendingShipment' },
  // SHIPPED: { value: 1, title: 'shipped' },
  // RECEIVED_IN_DOMESTIC: { value: 2, title: 'reveivedInDomestic' },
  // IN_STOCK_DOMESTIC: { value: 3, title: 'stockInDomestic' },
  // CHECK_BOX_COUNT: { value: 4, title: 'checkBoxCount' },
  // CHECK_BOX_COUNT_EXCEPTION: { value: 5, title: 'checkBoxCountError' },
  // OUT_STOCK_DOMESTIC: { value: '6', title: 'DomesticStockOut' },
  IN_TRANSIT: { value: 7, title: 'inTransit' },
  PARTIAL_RECEIVED: { value: 10, title: 'partialReceived' },
  RECEIPT_COMPLETED: { value: 11, title: 'receiptCompleted' },
  // PART_ARRIVED_WAREHOUSE: { value: 10, title: 'partialArrived' },
  // ARRIVED_WAREHOUSE_COMPLETE: { value: 11, title: 'warehousingCompleted' },
  PART_IN_STOCK: { value: 12, title: 'partialWarehousing' },
  IN_STOCK_COMPLETE: { value: 13, title: 'stockCompleted' },
  PART_SHELVING: { value: 14, title: 'partialDelivery' },
  SHELVING_COMPLETE: { value: 15, title: 'deliveryCompleted' }
  // CREATE_ORDER: { value: 16, title: 'createOrder' }
}
// 流转箱状态
export const containerStatusDict = {
  NOT_BOUND: { value: 0, title: 'notBound' },
  BOUND: { value: 1, title: 'Bound' }
}
// 流转箱 三围
export const sizeTypeDict = {
  UNIFICATION: { value: 0, title: 'unification' },
  CUSTOMISATION: { value: 1, title: 'customisation' }
}
// 包装类型
export const packageTypeDict = {
  WITH_SHIPPING_BOX: { value: 0, title: 'withShippingBox' },
  WITH_TRANSPORT_PACKAGES: { value: 1, title: 'withTransportPackages' },
  NO_TRANSPORT_PACKAGING: { value: 2, title: 'noTransportPackaging' }
}
// // 库存类型
// export const stockTypeDict = {
//   STANDARD: { value: 0, title: "standard" },
//   DEFECTIVE_PRODUCT: { value: 1, title: "badProduct" },
//   STAGING: { value: 2, title: "staging" },
// };
// 数据来源
export const dataSourceDict = {
  PC: { value: 0, title: 'PC' },
  PDA: { value: 1, title: 'PDA' }
}
// 调库存类型
export const adjustStockTypeDict = {
  RECEIPT: { value: 1, title: 'receipt' },
  OUTBOUND: { value: 2, title: 'outbound' },
  TRANSFER_LIBRARY_POSITION: { value: 3, title: 'transferLibraryPosition' },
  INVENTORY_TRANSFER: { value: 4, title: 'inventoryTransfer' },
  DISK_SURPLUS: { value: 5, title: 'diskSurplus' },
  INVENTORY_LOSS: { value: 6, title: 'inventoryLoss' }
}
// 操作类型
export const operationTypeDict = {
  ADD: { value: 0, title: 'add' },
  DEDUCTION: { value: 1, title: 'deduction' }
}
// 包材材质
export const depotPackMaterialDict = {
  BAG_PACK: { value: 0, title: 'bagPack' },
  BOX_PACK: { value: 1, title: 'boxPack' },
  PALLET_PACK: { value: 2, title: 'palletPack' }
}
// 包材类型
export const depotPackTypeDict = {
  PUBLIC_PACK: { value: 0, title: 'publicPack' },
  CUSTOMER_PACK: { value: 1, title: 'customerPack' },
  OTHER_PACK: { value: 2, title: 'otherPack' }
}

// 打单
export const invoicingStatusDict = {
  ONE_VOTE_ONE_PIECE: { value: 1, title: 'oneVoteOnePiece' },
  ONE_VOTE_MORE_PIECES: { value: 2, title: 'oneVoteMorePieces' }
}
// 出库 日期
export const outboundDateDict = {
  ORDER_DATE: { value: 0, title: 'orderDate' },
  OUTBOUND_DATE: { value: 1, title: 'outboundDate' },
  RECEIVED_DATE: { value: 2, title: 'receivedDate' }
}
// 出库单 单号
export const outboundNumberDict = {
  WAREHOUSE_OUT_DOC_NO: { value: 0, title: 'warehouseOutDocNo' },
  RIG_DOC_NO: { value: 1, title: 'rigDocNo' },
  LOGISTICS_NO: { value: 2, title: 'providerNo' },
  MIXING_NO: { value: 3, title: 'mixing' }
}
// 出库单 订单状态下拉
export const orderStatusDict = {
  PRE_RECORD: { value: 0, title: 'preRecord' },
  PACKAGED: { value: 1, title: 'packaged' },
  OUTBOUND: { value: 2, title: 'outbound' },
  ABNORMAL: { value: 3, title: 'abnormal' },
  DELIVERED: { value: 4, title: 'delivered' },
  TO_BE_RETRIEVED: { value: 5, title: 'toBeRetrieved' },
  RETURN: { value: 6, title: 'return' },
  DELETED: { value: 99, title: 'deleted' }
}
// 出库单 仓库操作状态下拉
export const depotOperationStatusDict = {
  COMMIT: { value: 0, title: 'submitted' },
  PRINTED: { value: 1, title: 'printed' },
  PICKED: { value: 2, title: 'picked' },
  PACKAGED: { value: 3, title: 'packaged' },
  OUTBOUND: { value: 5, title: 'outbound' },
  INTERCEPTDONE: { value: 60, title: 'interceptDone' },
  ABNORMAL: { value: 98, title: 'abnormal' },
  DELETED: { value: 99, title: 'deleted' }
}

// 价格规则类型
export const priceChargeTypeDict = {
  TOTAL_PRICE: { value: 0, title: 'totalPrice' },
  UNIT_PRICE: { value: 1, title: 'unitPrice' },
  RENEWAL_PRICE: { value: 2, title: 'renewalPrice' }
}

// 退件状态
export const backStatusOptionDict = {
  IN_TRANSIT: { value: 1, title: 'inTransit' },
  ARRIVED_WAREHOUSE: { value: 2, title: 'arrivedWarehouse' },
  RECEIVED: { value: 3, title: 'received' },
  COMPLETED: { value: 4, title: 'completed' },
  DELETED: { value: 5, title: 'deleted' }
}
// 退件类型
export const backTypeOptionDict = {
  BUYER_BACK: { value: 1, title: 'buyerBack' },
  SERVICE_PROVIDER_BACK: { value: 2, title: 'serviceProviderBack' },
  CLAIM_BACK: { value: 3, title: 'claimBack' }
}
// 操作方式
export const operationTypeOptionDict = {
  UNPACKING: { value: '0', title: 'unpacking' },
  PACK: { value: '1', title: 'pack' },
  PHOTO: { value: '2', title: 'photo' }
  // UNBOXING_VIDEO: { value: 3, title: 'unboxingVideo' }
}
// 无主货状态
export const unownedStatusOptionDict = {
  UNCLAIMED: { value: 1, title: 'unclaimed' },
  claimed: { value: 2, title: 'claimed' },
  EXPIRED: { value: 3, title: 'expired' }
}
// 无主货状态-首页
export const unownedIndexStatusOptionDict = {
  UNCLAIMED: { value: 1, title: 'unclaimed' },
  EXPIRED: { value: 3, title: 'expired' }
}
// 截单状态
export const interceptStatusOptionDict = {
  INTERCEPTING: { value: 1, title: 'intercepting' },
  INTERCEPT_DONE: { value: 2, title: 'interceptDone' },
  INTERCEPT_FAIL: { value: 3, title: 'interceptFail' }
}
// 问题件状态
export const problemItemStatusOptionDict = {
  UNHANDLED: { value: 0, title: 'unhandled' },
  HANDLED: { value: 2, title: 'handled' }
}
// 问题件处理方式
export const problemHandleTypeOptionDict = {
  CANCEL: { value: 1, title: 'cancelOrder' },
  RESEND: { value: 2, title: 'againSend' },
  SUPPLY_SEND: { value: 3, title: 'supplyAgain' },
  PYA_USER: { value: 4, title: 'payForCustomer' },
  PYA_PROVIDER: { value: 5, title: 'needLogisticsPay' }
}
// 问题件类型
export const problemTypeOptionDict = {
  NOT_ENOUGH_STOCK: { value: 1, title: 'notEnoughStock' },
  QUALITY_PROBLEM: { value: 2, title: 'qualityProblem' },
  INFORMATION_ERROR: { value: 3, title: 'informationError' },
  CUSTOMER_COMPLAINTS: { value: 4, title: 'customerComplaints' },
  OTHER: { value: 5, title: 'other' }
}
// 销毁状态
export const destructStatusOptionDict = {
  NOT_DESTRUCT: { value: 1, title: 'notDestruct' },
  PART_DESTRUCT: { value: 2, title: 'partDestruct' },
  ALL_DESTRUCT: { value: 3, title: 'allDestruct' }
}
// 盘点单状态
export const inventoryOrderStatusOptionDict = {
  NOT_INVENTORY_ORDER: { value: 1, title: 'notInventoryOrder' },
  NEED_REPLAY: { value: 2, title: 'needReplay' },
  NEED_AUDITING: { value: 3, title: 'needAuditing' },
  DONE_INVENTORY_ORDER: { value: 4, title: 'doneInventoryOrder' }
}

// 批次库存-订单类型
export const orderTypeDict = {
  ENTER: { value: 'ENTER', title: 'enter' },
  RETURN: { value: 'RETURN', title: 'return' },
}

export const freezeOrderTypeDict = {
  OUTBOUND_ORDER: { value: 'OUTBOUND_ORDER', title: 'outboundOrder' },
  DESTROY_ORDER: { value: 'DESTROY_ORDER', title: 'destroyOrder' },
  INVENTORY_ORDER: { value: 'INVENTORY_ORDER', title: 'inventoryOrder' },
}
